package com.yh.homestay.dao;

import com.yh.homestay.pojo.CapitalItem;
import com.yh.homestay.pojo.CapitalItemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CapitalItemMapper {
    int countByExample(CapitalItemExample example);

    int deleteByExample(CapitalItemExample example);

    int deleteByPrimaryKey(Integer itemId);

    int insert(CapitalItem record);

    int insertSelective(CapitalItem record);

    List<CapitalItem> selectByExample(CapitalItemExample example);

    CapitalItem selectByPrimaryKey(Integer itemId);

    int updateByExampleSelective(@Param("record") CapitalItem record, @Param("example") CapitalItemExample example);

    int updateByExample(@Param("record") CapitalItem record, @Param("example") CapitalItemExample example);

    int updateByPrimaryKeySelective(CapitalItem record);

    int updateByPrimaryKey(CapitalItem record);
}